<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * 微信位置消息模型
 * @package App\Models
 */
class WxmsgLocation extends Model
{
    //主键
    protected $primaryKey = 'id';
    protected $dateFormat = 'Y-m-d H:i:s';
    /**
     * 需要转换成日期的属性
     * @var array
     */
    protected $dates = [
        'create_time',
    ];
    /**
     * 可以被批量赋值的属性
     * @var array
     */
    protected $fillable = ['msg_type','msg_id','to_user_name','from_user_name','location_x','location_y','scale','label','create_time'];
}
